package com.foreverwin.jzymes.common.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ContainerAdviceMapper {

    /**
     * 查询容器
     *
     * @param site
     * @param container
     * @return
     */
    public Map<String,Object> selectContainer( @Param("site") String site, @Param("container") String container );

    /**
     * 查询包装级别
     *
     * @param containerBo
     * @param packingLevel
     * @param packingLevelValue
     * @param revision
     * @return
     */
    public Map<String,Object> selectContainerPackingLevel( @Param("containerBo") String containerBo,@Param("packingLevel") String packingLevel, @Param("packingLevelValue") String packingLevelValue, @Param("revision") String revision );

    /**
     *
     * 查询物料包装级别
     * @param packingLevelValue
     * @param revision
     * @return
     */
    public List<Map<String,Object>> selectContainerPackingLevelByItem( @Param("site") String site, @Param("packingLevelValue") String packingLevelValue, @Param("revision") String revision );
}
